//
//  LoginModel.m
//  Yarhoo
//
//  Created by 杨春至 on 2018/6/6.
//  Copyright © 2018年 Yarhoo. All rights reserved.
//

#import "LoginModel.h"

@interface LoginModel ()

@end

@implementation LoginModel
+ (instancetype)sharedSelf{
    static dispatch_once_t onceToken;
    static LoginModel *model = nil;
    dispatch_once(&onceToken, ^{
        model = [[LoginModel alloc]init];
    });
    return model;
}
+ (NSString *)token{
    LoginModel * model = [LoginModel sharedSelf];
    return model.token;
}
@end
